package com.ceair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ceair.entity.ProcessDefinition;
import com.ceair.entity.request.QueryProcessDefinitionReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 流程定义表 Mapper 接口
 * </p>
 *
 * @author wangbaohai
 * @since 2025-04-12
 */
@Mapper
public interface ProcessDefinitionMapper extends BaseMapper<ProcessDefinition> {

    Page<ProcessDefinition> queryProcessDefinitionWithPage(Page<ProcessDefinition> page,
                                                           @Param("queryProcessDefinitionReq") QueryProcessDefinitionReq req);

}
